package decorator.demo3;

/**
 * @author GongXincheng
 * @since 2019-09-20 20:31
 */
public class DecoratorA extends AbstractDecorator {

    DecoratorA(Component component) {
        super(component);
    }

    @Override
    public void operation() {
        System.out.println("operation Decorator -> A");
        component.operation();
    }
}
